package com.ruoyi.app.service.impl;

import com.ruoyi.app.domain.Hospital;
import com.ruoyi.app.mapper.HospitalMapper;
import com.ruoyi.app.service.HospitalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 75460
* @description 针对表【hospital(k医院表)】的数据库操作Service实现
* @createDate 2025-05-14 19:32:35
*/
@Service
public class HospitalServiceImpl implements HospitalService {
    @Autowired
    private HospitalMapper hospitalMapper;
    @Override
    public Hospital getById(Integer hospitalAreaId) {
        return hospitalMapper.getById(hospitalAreaId);
    }

    @Override
    public Hospital getByIdName(Integer hospitalId) {
        return hospitalMapper.getByIdName(hospitalId);
    }
}




